import Vue from 'vue'
//样式引入
import 'vant/lib/index.css';

// 全局引入
// import Vant from 'vant';
// Vue.use(Vant);

// 按需加载
import { Button } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { Grid, GridItem } from 'vant';
import { Tabbar, TabbarItem } from 'vant';
import { Sidebar, SidebarItem } from 'vant';
import { Tag } from 'vant';
import { Empty } from 'vant';
import { Badge } from 'vant';
import { SwipeCell } from 'vant';
import { Uploader } from 'vant';
import { Switch } from 'vant';
import { Stepper } from 'vant';
import { Search } from 'vant';
import { Rate } from 'vant';
import { Picker } from 'vant';
import { PasswordInput, NumberKeyboard } from 'vant';
import { Field } from 'vant';
import { DatetimePicker } from 'vant';
import { Checkbox, CheckboxGroup } from 'vant';
import { Cascader } from 'vant';
import { Popup } from 'vant';
import { Col, Row } from 'vant';
import { Image as VanImage } from 'vant';
import { Icon } from 'vant';
import { AddressEdit } from 'vant';
import { AddressList } from 'vant';
import { Area } from 'vant';
import { Card } from 'vant';
import { ContactEdit } from 'vant';
import { ContactList } from 'vant';
import { GoodsAction, GoodsActionIcon, GoodsActionButton } from 'vant';
import { SubmitBar } from 'vant';
import { NavBar } from 'vant';
import { Cell, CellGroup } from 'vant';
import { Divider } from 'vant';
import { Tab, Tabs } from 'vant';
import { Lazyload } from 'vant';
import { Toast } from "vant";
import { Loading } from 'vant';

Vue.use(Loading);
Vue.use(Toast);
Vue.use(Lazyload, {
  lazyComponent: true,
});
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Divider);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(NavBar);
Vue.use(SubmitBar);
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
Vue.use(ContactList);
Vue.use(ContactEdit);
Vue.use(Card);
Vue.use(Area);
Vue.use(AddressList);
Vue.use(AddressEdit);
Vue.use(Icon);
Vue.use(VanImage);
Vue.use(Col);
Vue.use(Row);
Vue.use(Popup);
Vue.use(Cascader);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(DatetimePicker);
Vue.use(Field);
Vue.use(PasswordInput);
Vue.use(NumberKeyboard);
Vue.use(Picker);
Vue.use(Rate);
Vue.use(Search);
Vue.use(Stepper);
Vue.use(Switch);
Vue.use(Uploader);
Vue.use(SwipeCell);
Vue.use(Badge);
Vue.use(Empty);
Vue.use(Tag);
Vue.use(Sidebar);
Vue.use(SidebarItem);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Button);
export default {}